package com.dd.stack.redis.pojo.BO;

import com.dd.stack.redis.pojo.req.OrderItemReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/1/31 11:45
 * @Description OrderBO
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class OrderBO {
    @ApiModelProperty("订单Id")
    private String orderId;
    @ApiModelProperty("用户Id")
    private String userId;
    @ApiModelProperty("订单量")
    private double totalAmount;
    @ApiModelProperty("订单子项")
    private List<OrderItemReq> items;
}
